<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>bottom</title>
<link type="text/css" rel="stylesheet" href="${css_ctx }/main_style.css" />
<script type="text/javascript">
<!--
function c(i){
	var i;
	document.getElementById("tab").className="tabD"+i;
	window.name=i;//window.name版
}
onload=function(){
	var a=document.links;
	for(var i=0;i<a.length;i++)a[i].onfocus=function(){this.blur();}
}
//-->
</script>
</head>

<body class="left_bg">
<div id="tab" class="tabD1">
<script type="text/javascript">
<!--
var i=parseInt(window.name);
if(i)document.getElementById("tab").className="tabD"+i;
//-->
</script>
<ul class="tabU">
<li><a onmouseover="c(1)" href="#" class="tabB1">通知</a></li>
<li><a onmouseover="c(2)" href="#" class="tabB2">个人信息</a></li>
<li><a onmouseover="c(3)" href="#" class="tabB3">统计信息</a></li>
<li class="tabB4" style="width:8px; height:21px;"></li>
</ul>
<div class="tabC tabC1">
	
    <c:if test="${!empty pm.datas}">
    <ul class="bottom_list">
		<c:forEach items="${pm.datas}" var="notice" varStatus="status">
			<li>
				<a href="${ctx }/notices?cmd=watch&nid=${notice.nid}" target="mainFrame"><span>[<fmt:formatDate value="${notice.ntime }" pattern="MM-dd" type="date" dateStyle="full"/>]</span>
				 ${fn:substring(notice.ntitle, 0, 12)} </a>
			</li>
		</c:forEach>
	</ul>
	<div class="bottom_xia"><a href="notices?cmd=list_watch" target="mainFrame">查看更多&gt;&gt; </a></div>
	</c:if>
	
    
    <c:if test="${empty pm.datas}">		
				暂时没有通知！
	</c:if>   
</div>
<div class="tabC tabC2" style="line-height:200%;">
 
&nbsp;用户名： ${manager.uname }<br/>
&nbsp;姓&nbsp;&nbsp;名： ${manager.uface }<br/>
&nbsp;角&nbsp;&nbsp;色： <c:if test="${'0' eq sessionScope.manager.urole}">超级管理员</c:if>
		<c:if test="${'1' eq sessionScope.manager.urole}">段长组</c:if>
		<c:if test="${'2' eq sessionScope.manager.urole}">审核组</c:if>
		<c:if test="${'3' eq sessionScope.manager.urole}">编制组</c:if>
		<c:if test="${'4' eq sessionScope.manager.urole}">车站组</c:if>
		<c:if test="${'5' eq sessionScope.manager.urole}">学习用户</c:if>
		<br/>
&nbsp;属&nbsp;&nbsp;于： ${sessionScope.mtrain.tname }
</div>
<div class="tabC tabC3" style="line-height:200%;">
  <c:if test="${'0' eq sessionScope.manager.urole}">
    &nbsp;&nbsp;车站总数:--&gt;&gt; ${count.tnum }<br/>
    &nbsp;&nbsp;人员总数:--&gt;&gt; ${count.pnum }
  </c:if>
  <c:if test="${'1' eq sessionScope.manager.urole}">
   &nbsp;&nbsp;车站总数:--&gt;&gt; ${count.tnum }<br/>
   &nbsp;&nbsp;待审核条目数:--&gt;&gt;${count.dzznshnum }
  </c:if>
  <c:if test="${'2' eq sessionScope.manager.urole}">
   &nbsp;&nbsp;车站总数:--&gt;&gt;${count.tnum }<br/>
   &nbsp;&nbsp;待审核条目数:--&gt;&gt;${count.shznshnum }
  </c:if>
  <c:if test="${'3' eq sessionScope.manager.urole}">
   &nbsp;&nbsp;录入条目数:--&gt;&gt;${count.innum}<br/>
   &nbsp;&nbsp;提交条目数:--&gt;&gt;${count.submitnum }<br/>
   &nbsp;&nbsp;通过条目数:--&gt;&gt;${count.passnum}<br/>
   &nbsp;&nbsp;未通过条目数:--&gt;&gt;${count.nopassnum}<br/>
  </c:if>
  <c:if test="${'4' eq sessionScope.manager.urole}">
   &nbsp;&nbsp;录入条目数:--&gt;&gt;${count.innum}<br/>
   &nbsp;&nbsp;提交条目数:--&gt;&gt;${count.submitnum }<br/>
   &nbsp;&nbsp;通过条目数:--&gt;&gt;${count.passnum}<br/>
   &nbsp;&nbsp;未通过条目数:--&gt;&gt;${count.nopassnum}<br/>
  </c:if>
  <c:if test="${'5' eq sessionScope.manager.urole}">
   &nbsp;&nbsp;车站条目数:--&gt;&gt;${count.innum}<br/>
   &nbsp;&nbsp;已阅读条目数:--&gt;&gt;${count.yreadnum}<br/>
   &nbsp;&nbsp;未阅读条目数:--&gt;&gt;${count.nreadnum}<br/>
  </c:if>
</div>
</div>
</body>
</html>
